//
//  OPPageContainer.h
//  OPFramework
//
//  Created by malcom on 7/21/08.
//  Copyright 2008 malcom-mac software. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface OPPageContainer : NSObject {
	NSMutableDictionary					*p_pagesContainer;
	int									p_totalPages;
	int									p_totalElements;
}

@property (assign) NSMutableDictionary *p_pagesContainer;
@property (assign) int p_totalPages;
@property (assign) int p_totalElements;

- (void) clear;
- (NSArray *) getPageAtIndex:(NSNumber *) _pg;
- (void) addPage:(NSArray *) _page atIndex:(NSNumber *) _num;
- (int) realElements;
- (NSArray *) getFlatElements;
- (void) removeElementFromPages:(id) _element;

@end
